﻿// CListCtrlEdit.cpp: 实现文件
//

#include "pch.h"
#include "CListCtrlEdit.h"


// CListCtrlEdit

IMPLEMENT_DYNAMIC(CListCtrlEdit, CEdit)

CListCtrlEdit::CListCtrlEdit()
{

}

CListCtrlEdit::~CListCtrlEdit()
{
}


BEGIN_MESSAGE_MAP(CListCtrlEdit, CEdit)
	ON_WM_KILLFOCUS()
END_MESSAGE_MAP()

void CListCtrlEdit::OnKillFocus(CWnd* pNewWnd)
{
    CEdit::OnKillFocus(pNewWnd);
    // 大气象：向父窗口发消息
    CWnd* pParent = this->GetParent();
    ::PostMessage(pParent->GetSafeHwnd(), WM_USER_EDIT_END, 0, 0);
}

// CListCtrlEdit 消息处理程序


